22df28eb0ae8bd37e97637df0a9d4cd80379a92a,src/main/java/org/cloudfoundry/community/servicebroker/brooklyn/repository/BrooklynServiceInstanceRepository.java,BrooklynServiceInstanceRepository,save,#S#,95

Before Change



	
	public <S extends ServiceInstance> S save(S instance) {
		Object response = ServiceUtil.getFutureValueLoggingError(restAdmin.setConfig(application, entity, instance.getServiceInstanceId(), instance));
		return (S) response;
	}
	

After Change



	
	public BrooklynServiceInstance save(BrooklynServiceInstance instance) {
		return (BrooklynServiceInstance) ServiceUtil.getFutureValueLoggingError(restAdmin.setConfig(application, entity, instance.getServiceInstanceId(), instance));
	}
	
	private OperationState nextState(String lastOperation, String currentBrooklynStatus) {